package com.hong.service_oss_client;


import com.hong.fy_common_commomutil.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

@FeignClient(value = "service-oss")
@Repository
public interface OssFeignClient {

    /**
     * 上传文件
     */
    @GetMapping("/api/oss/file/fileUpload")
     public Result fileUpload(@RequestParam("file") MultipartFile file) ;

//    /**
//     * 获取医院签名信息
//     */
//    @GetMapping("/api/hosp/hospital/inner/getSignInfoVo/{hoscode}")
//    public SignInfoVo getSignInfoVo(@PathVariable("hoscode") String hoscode);
}
